-- GENERATED SPELL FOR [Lesser Felguard] --


function spell0_3772(pUnit, Event) --@Fire Shield II,n/a--
pUnit:FullCastSpellOnTarget(184,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3772', 1000, 1)
end

function spell1_3772(pUnit, Event) --@Knockdown,n/a--
pUnit:FullCastSpellOnTarget(18812,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3772', 2000, 1)
end

function Sorts_3772(pUnit, Event)
local choix_sorts_3772 = math.random(0, 1)
if choix_sorts_3772 == 0 then
pUnit:RegisterEvent('spell0_3772', 1, 1)
end
if choix_sorts_3772 == 1 then
pUnit:RegisterEvent('spell1_3772', 1, 1)
end
end

function mob3772_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3772', math.random(1500, 3000), 1)
end

function mob3772_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3772_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3772_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3772, 1, 'mob3772_Action')
RegisterUnitEvent(3772, 2, 'mob3772_Leave')
RegisterUnitEvent(3772, 3, 'mob3772_Kill')
RegisterUnitEvent(3772, 4, 'mob3772_Die')
